[Inductor][FX passes] Forward fix an internal unit test failure. (#103739)
Summary: Forward fix a corner case, see the failure at D46689080.
Test Plan: Existing tests
Differential Revision: D46789312
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103739
Approved by: https://github.com/devashishshankar