Fixes

- bail out if partition tuple domain is not single value
- add a config option to enable the optimization
- reuse the computed partitions in tablescan node if available