Democrats have been hemmed in by internal divisions, Republican discipline, and a majority too slim to break filibusters.