The point about the Constitution mandating socialism does not cut it because it was Singh's party that introduced the word into the Indian Constitution.
You are wrong on economic history and economics. Rao asked Singh to open the economy and Singh for many years prior to being picked by Rao had actually advised that India tread the socialist path.
The nuclear deal had nothing to do with socialism or capitalism. It was an understanding between governments and India desperately needed our technology.