Set the props.selection.mode to none. That will tell the browser, which will deselect everything. Use a property change event script on props.selection.data to detect when the list is cleared, and set the selection mode back to what it was.
(Check that something is selected before setting the mode to none.)