Shona Robison said she would not stand for election again to the Scottish Parliament in next May’s elections.