The medium-range missile exploded seconds after it was launched on Sunday from a site near the port city of Sinpo, as Mike Pence, the US vice president, arrived in Seoul for talks with the South Korean government over how to deal with Pyongyang's belligerence.