40 fired Department of Economic Security workers to be rehired