Make ve.SelectionState#flip return an actual SelectionState
Rather than returning a plain object that looks a lot like
a SelectionState but doesn't have any methods.
This caused a JS error in a Firefox-specific code path
in ve.ce.Surface#showSelectionState.
Bug: T106270
Change-Id: I0e140908b6628b73d630816a67bb0f89c413796d