Retail giant Walmart Inc has agreed to sell its business in Argentina to Latin American group Grupo de Narvaez.