Extremely metal-poor Lyman limit system at $\mathsf{{\vec z}_{abs} = 2.917}$ toward the quasar HE 0940–1050