Honor ntasks-per-node option with exclusive node allocations

Previous logic would place more tasks on each node than specified
by --ntasks-per-node, using fewer nodes than desired. This only
happens with exclusive node allocations (e.g. in partition
configuration Shared=Exclusive).