When is Debt Odious? A Theory of Repression and Growth Traps