The vote came a day after House Speaker Brian Bosma, a Republican from Indianapolis, pulled the proposed ban out from the House Judiciary Committee, where support appeared weak after a hearing last week, to the House Elections and Appointment Committee, where all 9 Republicans voted for the measure.