A legal battle is unfolding over whether unelected judges can obstruct the Trump administration’s efforts to rein in federal spending. A Rhode Island judge, John J....