An unlikely hero, Gordon Brown wrestles with Scotland’s fate