Fix n/p on a file with only one edit

Back in 8724604fa9 ("Make n/p only honor comments on add/delete")
I tried to teach n/p keyboard shortcuts to jump to comments when
the change is the addition of a file, or the deletion of a file,
as the entire thing is one giant edit list.

Unfortunately this was based around just having 1 edit, and not
checking the *type* of the file change, so n/p broke when there
was exactly one region affected in the file.

We now only match comments if there is exactly one hunk and either
side of the patch script is empty (indicating full add or delete).

Bug: GERRIT-213
Signed-off-by: Shawn O. Pearce <sop@google.com>
3 files changed