Senate passes larger class sizes, salary cuts