COAS urges PM to avoid violence