Shortsighted actions can have big-time consequences for retired workers.