New optimization pass to avoid dead loads from emulated memory (stack)