Yousaf considers quitting as Scotland’s first minister