Army will defend motherland at all costs: COAS