I don't think that that's correct. I think that the 'short selling ban' banned actual short selling, and actions which had an equivalent effect. So your example of shorting the index and buying all the stocks except one would have fallen foul of the ban.