It’s a move physicians organizations and immigration attorneys had sought for months, citing widespread shortages.