Debt Deleveraging and Business Cycles: An Agent-Based Perspective