Update planner tool to set both partitioning param index and partitionin...

...g param value,

regardless of whether statement has been compiled to a parameterized plan.

Add the tests which caught this bug.
Great to see this, here. I'm a little surprised that this wheel had not yet been invented. At some point, we should do a pass over the regressionsuite modules replacing any boilerplate that looks like this (just not as good) with a one-line call.