A federal judge has given the Trump administration until Monday to pay nearly $2 billion owed to partners of the U.S.