[functorch] Prevent using for-loop for out-of-place index_fill batch rule (#99229)
A follow-up PR for https://github.com/pytorch/pytorch/pull/91364#discussion_r1060723192
Pull Request resolved: https://github.com/pytorch/pytorch/pull/99229
Approved by: https://github.com/kshitij12345