North Korea scraps military deal with South