The expansion will ban most immigration from Myanmar, Kyrgyzstan, Eritrea and Nigeria, Africa’s most populous country.