A federal judge says the NSA's practice of collecting phone records en masse violates the Fourth Amendment.