update optimizer rule to delete nodes
identity position compiles to null