Alberta politicians wrapped up the fall sitting of the legislature in the early hours Thursday, with Premier Danielle Smith's government cutting off debate to pass a bill mandating a referendum be held before the province could quit the Canada Pension Plan.