Ignore TAB at end of (some) lines in "git diff" output

For compatibility with GNU patch, "git diff" appends a trailing TAB to
some lines when it encounters file names containing white-space
characters.  These were not properly ignored.  (The regular expression
involved appeared to be handling trailing white-space, but didn't due
to how regular expressions work.)