Scrambling for Senate votes on Keystone XL pipeline