Reject job at submit time if the node count is invalid

Previously such a job submitted to a DOWN partition would be queued.
bug 187