Solution
:Add a name tag on them before you curing it and make sure they are stand/moving not siting in the minecart or boat before you curing them.
There is 2 difference glitch. And one of them could be fixing and the another one could not. If you right click the villager If it start moving add a name tag on it so it wont glitch again. If it didn’t that means the villager will never been fixed.
Dead usally just killed them and summon a new.
As you need i can you how to do it in the game. Woshita1214