Corporate restructuring, valuation and insolvency