The deal is Oxy’s latest effort to pay down debts that have dogged the company since its $38 billion acquisition of Anadarko Petroleum in 2019.