Index funds are a great way to match the performance of the market. So why do so many investors end up falling short?