A model of institutional fragility and breakdown of trust, with an application to Chile