WASHINGTON, July 25 (Reuters) - A federal judge on Friday dismissed a lawsuit brought by the U.S. Justice Department that accused the state of Illinois and the city of Chicago of unlawfully interfering with President Donald Trump's crackdown on illegal immigration.