but personally I'd probably use them for non-critical projects.
this.
Chances are that those ICs will work just fine if they aren't outright burned. Not for anything critical, yes, because chances also are that there is subtle damage. But for non-critical hobby stuff, for playing around and learning, I see no problem. Who cares if they for example fail to meet the datasheet specs at 70°C, but work fine at 50°C, or only fail in edge cases which will never happen in the device they will be a part of? Come on, nobody's life will depend on them. Why throw them out and create unnecessary waste?
Mark them accordingly so as not to mix them up with the good ones. Use sockets instead of soldering them directly so that they can be easily replaced if the circuit doesn't work correctly and you suspect it may be the IC.
Additionally, if they do fail or show strange behavior, it's for the better: the question of what exactly can go wrong after applying the wrong power polarity will have an answer.