Washington (CNN) -- The Senate narrowly rejected a Republican-sponsored measure Thursday that would have bypassed the Obama administration's current objections to the Keystone XL pipeline and allowed construction on the controversial project to move forward immediately.