Index funds may be just the ticket to retiring with more money. Here's how.