A second federal judge on Friday ordered a temporary pause in Trump administration efforts to freeze federal funding in the latest twist over the spending of trillions of dollars in grants and loans.