The Homeland Security secretary rebuked the former official who was once the face of Trump's mass deportation operations.