Royal Dutch Shell Plc has agreed to sell out of oil-sands producer Canadian Natural Resources Ltd. The Anglo-Dutch company’s Shell Gas BV unit will divest all its shares in Canadian Natural for total pretax proceeds of $3.3 billion, The Hague-based Shell said Monday. The sale serves the dual purpose of shedding one of its dirtiest assets, while reducing debt accumulated after the $50 billion purchase of BG Group Plc. The shares are being offered at $34.10 apiece, according to a person familiar with the matter. That’s a 2.9 percent discount to Canadian Natural’s close on Monday in New York. The stock fell 3.8 percent to $33.78 at 9:36 a.m. in New York on Tuesday. Shell had accounted for the money from the sale in its divestment program when the deal was originally announced last year and it doesn’t bring the company closer to its $30 billion target. At the end of the first quarter, Shell had completed $26 billion of that program. Beyond short-term debt reduction, the sale also has longer-term benefits. Chief Executive Officer Ben van Beurden has said he’s keen to demonstrate how an oil major can navigate a world focused on cutting emissions. He has repositioned Shell to focus on cleaner natural gas, shedding carbon-intensive assets such as oil sands. The Canadian Natural sale was initially flagged last year, when oil prices were about $20 a barrel lower. Shell said at the time it would sell almost all its production assets in Canada’s oil sands in a $7.25 billion deal. As part of that accord, Canadian Natural agreed to issue about C$4 billion ($3.1 billion) of its shares to Shell in payment for various assets.Shell Gas has entered into an underwriting agreement with Goldman Sachs & Co., RBC Capital Markets, Scotiabank and TD Securities for the sale of the stake. Canadian Natural shares closed at $35.11 on Monday.