Self-Fulfilling debt crises and the role of short-sighted optimal policy