30 killed in Afghanistan clashes