A coalition of states, cities and civil rights groups on Friday asked a federal judge to declare as unconstitutional President Donald Trump’s order seeking to exclude people in the country illegally from being part of the process for redrawing congressional districts.