A Brexit trade deal at last: EU and UK clinch narrow accord