Venezuela’s bonds lingered for years in financial purgatory. Investors held them as a lottery-ticket-like bet on the improvement of a dysfunctional country. Most steered clear.