What does it take for a roving bandit settle down? Theory and an illustrative history of the Visigoths