Ex-ISI chief in touch with RAW; Pak MI tells Court