indexes: Don't add ext-intros unnecessarily twice for ext-rec updates. Also did some code cleanups.
indexes: Don't add ext-intros unnecessarily twice for ext-rec updates.
Also did some code cleanups.

Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot