[JIT] Fix dead stores in JIT (#41202)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41202
This commit fixes dead stores in JIT surfaced by the Quality Analyzer.
Test Plan: Continuous integration.
Reviewed By: jerryzh168
Differential Revision: D22461492
fbshipit-source-id: c587328f952054fb9449848e90b7d28a20aed4af