One of West Africa’s largest economies has torn up its agreement with Mauritius as debate rages over the tax haven’s impact on developing countries.