We didn't solve this type of thing for the adversarial case. If contracts became easily electronically diffable, then companies who didn't want their diffs comprehensible would randomly move sentences around and substitute words in every version of their contracts.