* helm.el (helm-internal): Simplify `helm-read-pattern-maybe' call.
No need to restore twice overriding-terminal-local-map.
(helm-read-pattern-maybe): Call helm-cleanup in its unwind-protect form,
handle any-history arg here instead of in helm-internal.