On Wednesday , the Senate voted to limit debate on the controversial legislation .