State House OK's compromise version of proposal to curtail teachers' collective bargaining