Federal judges in Georgia and Texas have ruled against key provisions of two controversial election laws passed two years ago as the Republican Party sought to tighten voting rules after former President Donald Trump's loss in the 2020 presidential contest.