split-testgen: Generate at least one shard

Previously, split-testgen would cause a ZeroDivisionError when told to
generate a single job.  It must generate at least two jobs: a shard
and the array.  Fix this by ensuring that it generates at least one
shard.