hooks-md.R: Only collapse matched back-ticks.

- Ensure the fence is alone on the line and lengths are equal before
  collapsing.

Signed-off-by: Thell Fowler <thell@tbfowler.name>
Merge pull request #743 from Thell/tbf-collapse-fix

hooks-md.R: Only collapse matched back-ticks.