A bit of relex2logic.scm code reorganization

Might conflict with existing pull requests that modify the same file (like https://github.com/opencog/opencog/pull/881)