Reland "[functorch] add error inputs check to vmap test" (#83106)
Reland of #83017. It was reverted because it was stacked on top of a
commit that failed trunk tests.
Test Plan:
- wait for tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83106
Approved by: https://github.com/Chillee