Add an entity deletion hook to remove line items when the associated registrations are deleted.