A small detail on capital gains tax in the budget bill has the potential to compound the pain investors may face.