In a trial of a politically divisive program, U.S. prosecutors in Denver and Baltimore are reviewing thousands of deportation cases to determine which illegal immigrants might stay in the country — perhaps indefinitely — so officials can reduce an overwhelming backlog by focusing mainly on detainees with criminal backgrounds or who are deemed threats to national security.