The two agencies began focusing on routine immigration arrests last year as part of President Trump’s mass deportation effort.