Graduate Program Director Congratulating Me on Failing Comprehensive
No one writes these letters "by hand," but rather cuts-and-pastes names to avoid writing the same thing dozens of times. It seems extremely likely to me that this person copied a standard "I'm pleased to relay ...", used to tell students they passed, into the letter telling you you failed, and then didn't notice this. There isn't anything else in the letter that seems at all disagreeable. Seeking legal recourse, etc., without even finding out whether this is a typo seems like a severe over-reaction.