A federal judge on Thursday gave the Trump administration until Monday to pay nearly $2 billion in debts to partners of the US Agency for International Development and the State Department, thawing the administration’s six-week funding freeze on all foreign assistance.