Launch of 'intermediate-range ballistic missile' comes day after it gave warning to Japan and US over new UN sanctions.