Senate Democrats have reached a deal with their Republican counterparts to confirm a dozen judges nominated by President Joe Biden while pulling four of his nominees from consideration, the latest step in a battle over who controls the nation’s federal courthouses on the eve of a second Donald Trump presidency.