Taiwan’s Foxconn has withdrawn from a $19.5 billion semiconductor joint venture with Indian metals-to-oil conglomerate Vedanta, it said on Monday, in a setback to Prime Minister Narendra Modi’s chipmaking plans for India.