When a key is to be purged, don't run the key state machinery for it. (cherry picked from commit af54e3dadc)
af54e3dadc