P&O sells stake in offshore unit