House squeaks through budget cuts