Lattice hydrodynamic model for pedestrian traffic with the next-nearest-neighbor pedestrian