Dow Racks Up Gains as Tech Claws Back Losses, Value Shines Ahead of Election