India and the European Union have finalized a long pending landmark trade deal, Indian Prime Minister Narendra Modi said on Tuesday, as the two sides seek to hedge against fickle ties with the US.