Magnemite was able to handle electricity better than a non-electric type, and Umbreon wasn't even part-ground. In fact, it's attack hadn't done much damage - Magnemite's steel body was relatively clean.
Jirou noticed their close proximity, and narrowed his eyes.