North Korea said it test-fired a new type of “tactical guided weapon” in an announcement Thursday that was possibly an attempt to register displeasure with the deadlock in nuclear talks with the United States without causing those coveted negotiations to collapse.