Partition.pm: avoid adding useless code in KS config file

Despite @piojo's comment in #33, I propose a fix for this issue. I am not sure it is making the code much more difficult to understand/follow.

Fixes #33
this is a lot of lines for essentially
```
my $begin = $offset || 1;
print "        begin=$begin\n";
```