South Korea top court reinstates prime minister suspended over drama surrounding imposed martial law