Remove defunct NotNode from AST and consumers.