How Yousaf resignation could spell end of SNP dominance in Scotland