Legislature adjourns with "deal," but biggest issues still unresolved