widen before deleting regions

This avoid problems with c-mode's after change hooks.
add: external test for issue #404
Closes #404: merge remote-tracking branch 'npostavs/widen'