Edit: Removed double post.
How do North Korea know the next one will? Staking your countries future on the possibility that your deterent can reach somewhere that your primary foe will care about?
As for the FOBS type systems, those are pretty much the ideal targets for THAAD and AEGIS based defense systems. Once again, do you think the North Koreans would be daft enough to stake their survival on an unreliable system?
EDIT: Also of course one has to question the sanity of an operation that detonates an EMP blast over your own head and also badly damages the only possible ally (China) you are likely to have.
Your Analysis is flawed. Lets work through Kim's perspective.
Do not let perfection become the enemy of the good. Yes, Kim would love to have 200 advance nuclear weapons as good as what the USA has. He would love to have some of our cruise missiles, ICBM or other technology. He is diligently working on improving.
He knows he can't win a war, but does not want to leave power. The USA public threatened to attack him (Axis of Evil). For a long time, the ability to destroy Seoul and Russia/China allies were enough. When GWB threatened him, it was obvious he needed more. You can only destroy Seoul once. No other targets within easy gun range of great value.
So now, what does he do to lessen the threat. Explode nuclear weapon. GWB threatening speeches stopped. I can't think of Obama bringing the issue up in "We need to attack NK". Clear win for Kim. Saddam is dead, Kim's son is in power. Now to how to use them, the best way possible.
Kim exploding EMP overhead is similar to Russian deadhand system. Both crazy, but make sense in nuclear deterrent world. China can't afford to allow USA to attack, since it also loses so much. Strategic error on China part to allow Kim to have weapons. I can't explain it, beside to say China helped Pakistan, and a India/Pakistan EMP would also go over border into China.
Also, extra benefits. NK has very small power grid. Old mechanical tanks largely immune. SK has modern infrastructure. Just immoblizing all the cars in SK has a noticeable military value. So does lack of running water and a huge refugee stream.
Also, EMP makes SK and Japan apply pressure to USA to attack. Attacking cities directly also has similar effect, and maybe once Kim has enough Nukes to reach USA, he changes target planning. But this change is years away.
As Kim's missiles get longer range, their accuracy goes down. A 10 Kiloton bomb missing Seattle by 40 miles does nothing. EMP missing by 40 miles is devastating. In some ways, it is his only choice. Same analysis on Pearl Harbor. Missing by few miles or 10's of miles make strike of little importance.
For Aegis, I am not sure they are any easier to hit than a nuclear weapon target for a ground burst. And our anti-missile shield misses more often than it hits, even when it knows the exact path days in advance. Sure, it might stop the Seattle shot. But it might not. It is not perfect, but lets assume for a second that the USA official assessment is there is a 2% chance the Seattle attack works. It still has deterrence effect.
And to the one over NK, this is part of the reason you shoot it straight up. It makes it a lot harder to hit. The Aegis systems have limited range. And even if the Aegis is in range, the counter shot has to travel farther than if I try to shoot it towards Japan, over the ship. Now again, as his technology improves, he may well change the location. There is a location where the EMP would effect Japan but not China. But the same uncertainties you and others have talked about makes this less likely. Not only must he be sure he can hit and we can't shoot down over water. He has to correctly model an EMP burst without access to the real data on the USA or USSR tests.
Kim would prefer better weapons, but you fight wars with the weapons you have, not what you would like to have. And NK spending a fortune on additional missile development indicates that Kim sees issues with his weapons systems.