Lawmakers set stage for orderly end to session