PDI-12140 - IndexOutOfBoundsException when transitioning between different partition schemas

Fix PDI-12140
Fix inconsistency with partitioning dialog
Fix junit warnings
Add junit test for PDI-12140