COAS returns to Pakistan after Afghanistan visit