Hack to allow unit tests to call private method. Do not use.
void test_diff_cleanupSemanticLossless(List<Diff> diffs) { _diff_cleanupSemanticLossless(diffs); }