Investors turned to safe-haven assets after North Korea fired a missile before Asian markets opened on Tuesday.