(Reuters) - Oil and gas producer SandRidge Energy on Thursday backed out from its plan to buy smaller rival Bonanza Creek Energy , giving in to pressure from activist investor Carl Icahn and other shareholders.