Missouri lawmakers agree on more money for hospitals, higher education