The encounter was among a string of shootings during the Trump administration’s aggressive push to detain and deport immigrants in the country illegally