Wave of confirmations attempts to balance rightward swing on the federal bench with a diverse range of candidates