IDomainEvents.remove(event: IDomainEvent): boolean
Removes the first pending reference that is strictly equal to event.
Event IDs are not collection identity; duplicate references are valid.
event: IDomainEvent
The exact event reference to remove