Founders who have learned from the school of hard knocks offer the lessons they picked up when their businesses failed.