The federal judge said the federal government likely has the authority to collect the data, but the demand was rolled out to universities in a “rushed and chaotic” manner.