Fix hyphens in paragraphs treated as signatures

A double dash within a paragraph can be used to convey an en dash or an
em dash, so it shouldn't be treated as a signature.
The important change here is that hyphens, and underscores must end the
line, optionally preceded, or followed by spaces.