CDCR ending contract with McFarland prison