The Trump administration has defended the actions of thousands of agents deployed to crack down on immigration.