US agribusiness giant Cargill has settled a long-running dispute with the Mexican government over trade barriers erected against high-fructose corn syrup.