Oil giant sells California refinery and Texas gas processing plants to pay for well blowout in Gulf of Mexico.