[dynamo] list index: add more list types to testing, support namedtuple, improve error handling (#110919)
Follow up: #110817
Minor improvements as discussed in prev PR
Pull Request resolved: https://github.com/pytorch/pytorch/pull/110919
Approved by: https://github.com/ezyang