Fix position of zero-length overlays.

I noticed that when a compile error has its begin and end offsets identical, the current behavior (subtract 1 from "beg") causes whitespace to be highlighted. That makes the error invisible if the default highlight fase is used. Adding 1 to "end" does the right thing in every case I tried.