There’s a long tradition of financial advice for women that boils down to giving up frivolous expenses — starting with fancy coffee. Here's why it's wrong.