The effect of Cr impurity to superconductivity in electron-doped BaFe2−xNixAs2