If you got rid of a few long-held investments in 2016, you may owe Uncle Sam even more than you think.