David Cameron and Theresa May congratulated the negotiating teams on helping to end the year with some “positive news” as the UK and EU announced an post-Brexit trade deal has been agreed.