The Wash-Sale Rule: How It Works and How You Can Avoid a Was