They spent hours churning through amendments before final voting, sending the package to the House for next steps.