Fishtail and vortex dynamics in the Ni-doped iron pnictide BaFe1.82Ni0.18As2