Persist or Give Up? Social Insect Decision-Making When Faced With Problems