In final hours, lawmakers to boost state employee, teacher