India probes pirates’ links with terrorists