A federal magistrate judge in Virginia accused the Justice Department of indicting former FBI Director James Comey before investigating his alleged wrongdoing.