remove nested clauses with identical subject