Unified response needed to defeat terrorism: COAS