A federal judge ruled that the Trump administration erred in freezing the money to the University of California.