Tokyo is becoming a bigger factor in Pyongyang's geopolitical maneuvering — and a more useful justification to press ahead with its military ambitions.