S. Korean president orders phased implementation of existing inter-Korean agreements