I am not sure this is considered a bug.
Think of it as comparable to your own cheat death passive. They lose all debuffs, and are frozen for a few seconds with more toughness, but then they come back to life with more health if you do not finish them off.
I think this was not by accident, but rather game design, They have their own cheat death passive.