As part of the deal, Flipkart will acquire and run eBay India in return for a $500 million investment