North Korea fired a missile over Japan in its longest such flight and a clear message of defiance days after the U.N. Security Council adopted further sanctions.