With a patchwork of lenders now willing to provide financing on noncommercial terms to countries in distress, “moral hazard plays” have proliferated in emerging markets.