With less than 12 hours to go, the chief domestic policy priority still wobbled on the brink of collapse.