Take the given items off the AI triage queue.
An item that is waiting is removed at once. An item that is running cannot be recalled, because its submission is already with the AI provider: it finishes, its verdict is kept, and it then leaves the queue without being retried, held or run again, even if a scan or a request asked for its subject while it ran. Until then it stays on the queue with removed set, so that nothing else starts on the same subject meanwhile. A verdict it forms is still shared with the other hosts in the same situation, which queues them to take it up without a submission.
A removed host is not queued again automatically until something about it changes: a scan that changes what is alerting on it, or a change to its alerting artifacts made some other way, such as whitelisting. A host that has no verdict yet is queued again by its next scan, as any host without a verdict is. A request made by hand queues a host or artifact again at any time.
Ids that are not on the queue, such as an item that finished after the list was read, are ignored, so removed may be lower than the number of ids given.