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.

--HG--
branch : HEAD

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot