BP agreed to sell a 65% stake in Castrol to Stonepeak for a $10.1B valuation, raising nearly $6B to cut debt as part of its broader divestment and balance sheet strategy.