The panel, led by Rep. Barney Frank (D-Mass.), passed legislation to create a new agency to regulate consumer lending, including mortgages and credit cards, and to regulate for the first time the vast market of financial instruments known as derivatives.