North Korea's latest nuclear test is "extremely regrettable" and violates the international community's repeated demands, the head of the UN atomic watchdog says.