The short-lived production of exozodiacal dust in the aftermath of a dynamical instability in planetary systems