Fix use-after-consume bug in code generated by GenPredicate.
Substitute inlined nonuniqueParams.