Debt Valuation, Renegotiation, and Optimal Dividend Policy