North Korea orders military takeover of inter-Korean factories