The deal comes after years of disputes between Beijing and Brussels over soaring Chinese exports of items such as cars.