If a prosecutor deliberately forces a mistrial, the Double-Jeopardy rule in conjunction with the Dirty Hands doctrine generally precludes retrial. That doesn't happen often, though, because most prosecutors would rather dismiss charges than force the judge to throw out a case via mistrial.
True that. But there was no force by the prosecutor on this one, just asleep at the switch.