(orcc-lib) Fix scheduler initialization when |partitions|>|threads|.