U.S. Losses Mount Ahead of Afghan Vote