For decades, ICE and Border Patrol have operated with fewer constraints than typical law-enforcement agencies.