fix squeue job array combine logic

commit 8ddadea52444a5fb40354340e45add259dec3c89 combined all
pending jobs, even if they had the special exit flag set. This
treats pending and special_exit state jobs differently. Only those
jobs with state pending (and NOT special_exit) are combined in
squeue.