Group event log index writes in transactions (#25660)