A federal judge on Monday permanently blocked President Donald Trump's executive order to cut funding from cities that limit cooperation with U.S. immigration authorities.