The Nigerian National Assembly has announced a ban on all official visits to South Africa as violence against immigrants continues in the country.