Britain’s “long-term national interest requires closer partnership with our allies in Europe”, Sir Keir Starmer has said.