ENG-4449: Fix a bug in creating SP adhoc work with partitioning parameter.

Replicated table reads are planned as single-partition transaction with null
partitioning parameter.