Lawmakers leaving ahead of term’s end