Tuesday’s vote exposed to public view some of the contours and rifts in the Democratic Party, where many senators feel they have too often bent over backward to accommodate Ms. Landrieu and protect her Senate seat — one of the last remaining Democratic seats in the South. They finally revolted, in what they said was a vote of principle against legislation they believe would harm the environment.