Resolve eventDefinitionRefs when determining an event type