Optimizing Consumer Credit Markets and Bankruptcy Policy