With a vote of 25-8, the upper chamber voted against sending it to the House.