Yes, you can re-wire the packs to remove the dead cells, but you can't combine cells between different aged packs because the cells won't be matched.
What is the IR of the good cells? If any cell is above 7m
Ω then I wouldn't waste the time.
If you don't know what you're doing, then simply discard the packs, otherwise do this at your own risk!