Rejects a list of more than MAX_ITEMS distinct affected items.
Callers that resolve item references one by one (the REST API) drop
repeated references and check this first, so a long list costs no
lookups; create drops repeated items (one row per item, the first
mention wins) and checks again.