In this compiler pass, nodes that have no effect on the words output are removed.