Drilling company is selling 30 per cent of itself and providing six offshore rigs to drill for oil in deals signed just ahead of sanctions deadline