A federal judge has enforced a temporary restraining order blocking Donald Trump from freezing federal grants