Financial Regulation in General Equilibrium