dead-store-elim not for primitives but references, tests