Dozens of fired states workers get rehired