Edge critical currents of dense Josephson vortex lattice in layered superconductors