Humza Yousaf has quit as Scotland’s First Minister after little more than a year in Bute House.