Wide-ranging legislation that would lower tax rates for individuals and businesses passed the House on Wednesday.