Highlight column on empty line correctly

If an error refers to a column on an empty line, highlight from the end
of the previous line.

Also simplify `flycheck-error-region`.