Crushing obligations to foreign creditors that have few precedents have sapped numerous African nations of growth and stoked social instability.