fix Issue 9712 - IFTI does not support deducing static array types from array literal arguments
fix Issue 9654 - Template function cannot take string by ref T[len]

That should work even if len is TemplateValueParameter.
Bug fix mentioned by Martin Nowak for issue 3652
Fix bugs around ref and CT-boundaries argument

Improve test for issue 9654 and 3652.
Merge pull request #1744 from 9rnsr/fix9712

Issue 9712 - IFTI does not support deducing static array types from array literal arguments