Many cities and states can no longer afford the unsustainable retirement promises made to millions of public workers over many years. By one estimate they are short $5 trillion, an amount that is roughly equal to the output of the world’s third-largest economy.