Whole nation rejects misplaced ideology of terrorists: COAS