Clashes along the two Central Asian countries’ disputed border were the deadliest seen in years.