SI-8315 Fix crash in dead code elimination

It was a cache invalidation bug.

We need to mark the Code as touched to invalidate the caches
behind `predecessors` and `successors`.