Pakistan, Iran agree to send back their ambassadors