Cobalt International Energy’s plans to offload an African oil discovery has backfired after Angola’s state energy group backed out of a $1.8bn deal