The stock market gains from the April low have ballooned the accounts of many investors, making the final stretch of the year a good time to think defensively.