House passes legislation prohibiting patents on tax planning methods