sview - fix issue where if a partition was completely in one state the
cpu count would be reflected correctly.
Merge remote-tracking branch 'origin/slurm-2.5'