Investors who poured trillions of dollars into index funds on the conviction that no one can beat the market may actually be making it easier to do just that.