One 401(k) or IRA misstep could trigger significant taxes and penalties for retirement investors.