The former president of Chile’s main trade union federation will be leading the CP as it wrestles with the challenges facing the country.