Many developing countries have made progress since the 1990’s in shifting from dollar-denominated debt toward foreign direct investment and other types of capital inflows, or in paying down their liabilities altogether. But some commodity exporters still seek ways to borrow that won’t expose them to excessive risk.