rework fallback in get_avail_core_count, cpuset ranges is a filter on avaiable number of cores