Republicans have blocked a Democratic measure aimed at changing federal election laws for the second time this year.