A recent rout in tech stocks has some investors thinking more defensively. This "free-lunch portfolio" strategy can help.