SNC-Lavalin strikes deal to sell oil and gas unit, ends global energy ambitions