Exploiting structure in counterexamples to speed up equivalence checking in the minimally adequate teacher framework