logging scheduler policy exec failure with ids

When policy execution fails due `BusyLockError` or any other reason, the error is logged with tenant_id,
group_id and policy_id. Moved the collection of deleted policy ids to execute_event for this