The Afghan Taliban vowed to avenge the killing of 16 civilians, allegedly by an American soldier who went on a shooting rampage.