Major reversal of Trump administration’s mass deportation strategy follows fatal shootings in Maine and Texas