Canada has agreed to cut its 100% tariff on Chinese electric cars in return for lower tariffs on Canadian farm products.