bpf: fix off by one for range markings with L{T, E} patterns