Hermione wasn't crazy. Maybe she got confused and disoriented from time to time, but she was not crazy. Hearing Rabastan make his accusation only encouraged her to want to finally end the man's wretched existence. If that made her "unstable" and "dangerous", so be it! But she was not crazy.