The US has imposed sweeping visa restrictions on nationals of 39 countries, including Nigeria, with full bans, partial limits and key exemptions explained.