UK formally bids farewell to EU