North Korea tears up agreements