Legislature enacts tax-raising bill over Gov. Patrick's veto