South Korea says inter-Korean pacts preventing armed clashes must be kept