Thayer Arteaga, William, Consejero de Estado, Chile