A Democratic win in a special Iowa Senate election has blocked Republicans from regaining a supermajority in the chamber.