Foreign investors are dumping Indian stocks at record pace.