COAS vows to attain lasting peace in country