The verbal deal , which was due to be posted online in written form last night and head to the House of Representatives for a vote as early as today , came after one of the most intense and extraordinary sessions of legislative wrangling in modern times .