COAS orders optimum use of resources to recover trapped soldiers