Shell has agreed to buy BP’s stake in the central North Sea Shearwater hub, pre-empting a deal agreed last month between the UK