Fix EZP-21351: Core compiler passes don't allow one service to use sametag with varying attributes

https://jira.ez.no/browse/EZP-21351

Follow up of EZP-21349 / #471