[Issue #307][ruby-mode] Fix backward scaning of pairs claiming to be strings