A college student tried a legal way to avoid capital gains tax by selling and rebuying ETFs before discovering an overlooked IRS kiddie tax rule that changed everything.