Fix a bug in CPIBasedCachePartitioningHelper.