EZP-22510: Fixed a possible bug in ConfigResolverParameterPass

When iterating over definition arguments, the index is considered numeric
when calling replaceArgument.

It seems that this index can be a string (index_$i) when the definition
has been created using a decorator. This removes index_ from the uri if
it is there.