Bail out of setSelection when the update would be a no-op
Bail out of setSelection when the update would be a no-op

To avoid disrupting compositions

ProseMirror/prosemirror-view,jspn500/prosemirror-view