Financial Debt and Joint Venture Investments: A Comprehensive Legal Analysis Under the Insolvency and Bankruptcy Code