GOP officials fiercely oppose adding judicial seats to shift a court in an ideological direction — except when they don’t.