Revert "Revert "[functorch] Refactor life handle storage (#90317)"" (#90856)
Adds the fix for -Wsign-compare.
See original PR (https://github.com/pytorch/pytorch/pull/90317) for
commit message
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90856
Approved by: https://github.com/samdow