When Cubic Energy’s bankruptcy plan took effect on March 1, shareholders of the Dallas-based oil and gas company were wiped out. Among the losers was Wells Fargo & Co.