The conflict had forced 40,000 to 50,000 civilians to flee their homes and seek shelter on the Chinese side of the border.