fix Issue 12103 - TypeTuple loop variable as template alias argument doesn't work