Budget deal rests on health and human services spending