Fix functorch test selection logic (#86944)
I realize that `run_test.py` doesn't take into account functorch test selection logic at the moment, for example `python test/run_test.py --functorch -i functorch/test_ops --verbose` stills run all functorch tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86944
Approved by: https://github.com/clee2000, https://github.com/malfet