The UAE has strongly condemned a terrorist attack that targeted the police headquarters in Karachi in southern Pakistan and left two people dead.