the damage was limited to only 3 of the 8 analog input pins going dead and otherwise the chip still functions in all other aspects.
You need to be careful with conclusions like this. The only damage that you NOTICED was the 3 analog input pins, but there could be other problems that just haven't shown up yet. Chips that experience such "abuse" should get big "
Questionable! stickers on them so that sometime in the future you don't spend days trying to debug software on a chip that has physical damage responsible for its bad behavior!