Is there a term for when you screw up and your mind protects you by vehemently but illogically blaming somebody else, often ironically the primary victim of your mistake? It's a similar concept to hypocrisy, but a little different.