A federal court issued an injunction on behalf of USAID contractors and employees who filed a complaint against Musk.