fix regression by reverting a change to expand-region-core.el