If I purchase a share of stock for $10, sell it for $9, repurchase it less than 30 days later for $8, and sell it for $9 before the end of the year, will my gain be zero?