Atomic coherence changes caused by optical pumping applied to electromagnetically induced absorption