The impact of statistical learning on violations of the sure-thing principle