Britain and the European Union have struck a provisional free-trade agreement after months of tense and often testy negotiations. With…