The political battle over creating new federal judgeships comes as Democrats race to confirm President Joe Biden’s final nominees before losing control of Congress.