Voters across Ireland have headed to the polls in a parliamentary election to decide the next government, with the leader of an opposition party giving birth.