fix case where HM would kill too many instances

this would happen if an instance designated for death appeared before
the rest of the instances; it would count that doomed instance in the
running count, and cause later instances to be designated "extra"