After federal judges began pushing back on efforts to detain people at hearings, Immigration and Customs officials implemented a strategy that tracks immigrants and makes them feel like criminals.