A federal court in Washington, D.C., has tossed out a lawsuit filed against President Trump's efforts to exclude undocumented immigrants from a key set of census numbers.