Replace <locale>.numCores with <locale>.maxTaskPar where appropriate.