fix computation of chunk lines in current_line() so that chunk header and footer are not included

- if chunk has length 1, returned vector has only one instead of 2 elements
- if (and only if) chunk has length 0, line with chunk header is reported

See `git log` for a sample test file.