The vote, along party lines, was part of a push by Senate Democrats to confirm dozens of President Obama's stalled nominations in the last days of the congressional session before Republicans assume control in January.