Fire the onSelectionChange event when a selection is cleared by
single-clicking somewhere inside the terminal area.
fixes#3193.
This also slightly changes the behaviour when re-selecting the same area
in the terminal. Before, this fired onSelectionChange, but it does not
anymore, even when changing the direction of the selection.