Legislature passes budget, adjourns special session