Adler-Bell-Jackiw anomaly in Weyl semimetals: Application to pyrochlore iridates