Measurement of the $ \Lambda_{\mathrm{b}}^0 $ lifetime in pp collisions at $ \sqrt{s}=7 $ TeV