Fix job hash table bug

Fix job array hash table bug, could result in slurmctld infinite loop or
invalid memory reference.
bug 1309