French retail giant Carrefour has sold its Malaysian operations to Japanese giant Aeon.