Correct job's partition names

Fix bug which could report to squeue the wrong partition for a running job
that is submitted to multiple partitions.