Foxx withdrew from the case last year in what she termed a “colloquial” recusal, then assigned her top deputy to handle the matter, which Toomin said rendered the entire prosecution invalid. Foxx had the right to step away but did not have the right to name her successor, the judge said.