UK formally applies to join trans-Pacific trade bloc