South Korea cuts military ties with Japan