who was the first president of chile