Public sector layoffs, credibility and the dynamics of inflation in a simple macromodel