Deselects matched objects. The parameter
objects must be an array of strings or an array of objects.
If an array of string is passed, the objects that match the provided IDs will be deselected.
If an array of objects is passed, these objects should have the following structure:
Note that the promise does not resolve to an array of deselected objects. Use onObjectDeselected for that.
Held objects will be released
If the objects were temporarily held,
deselectObjects() releases them again.