[REG2.066a] Issue 13127 - Cannot deduce function with int[][] argument and "in" parameter

https://issues.dlang.org/show_bug.cgi?id=13127

Now this is an improvement of pull #3284 with exhaustive test case.