Deduplicate affected users for an @all highlight, and add methods to the UserCache to search by room presence and membership