Partition to K Equal Sum - Pruning Strategies

Key optimizations: 1.1. If sum is not divisible by kk, return false.

2.2. Sort in descending order. Larger elements fail faster.

3.3. If any element exceeds target sum, return false.

4.4. Skip duplicate consecutive values to avoid redundant work.

5.5. When k−1k-1 subsets are filled, the last one is guaranteed.