Diet Coke, sold almost exclusively in cans in India, has become an unexpected casualty of a war that has shut a strait, struck a smelter and squeezed a market.