The former first minister has reflected on his fateful decision to end the SNP’s powersharing deal with the Scottish Greens.