They were the latest restrictive changes to the immigration system after this week’s shooting of two National Guard members.