\mathbf x\left(1-\frac{i\mathbf p\cdot d\mathbf{x}'}{\hbar}\right) \\ &=\mathbf x + \left(\frac{i}{\hbar}\right)\left[\mathbf p\cdot d\mathbf x',\,\mathbf x\right]\tag{this line} \\ &=\mathbf x +d\mathbf x' \end{align} We leave it as an exercise for the reader to show that both approaces lead to the same result for the expectation value of $\mathbf x$: $$\langle\mathbf x\rangle\to\langle\mathbf x\rangle+\langle d\mathbf x'\rangle$$
Sakurai just mentions that if operator is changed but state kets are kept frozen but he left mathematics for students.