Republicans have claimed key victories in state Supreme Court races that will give them an advantage in major redistricting fights, while Democrats notched similarly significant wins with help from groups focused on defending abortion access.