North Korea scraps military agreement with Seoul as tensions rise