Precision Measurement of the <span class="aps-inline-formula"><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mo stretchy="false">(</mo><msup><mi>e</mi><mo>+</mo></msup><mo>+</mo><msup><mi>e</mi><mo>−</mo></msup><mo stretchy="false">)</mo></math></span> Flux in Primary Cosmic Rays from 0.5 GeV to 1 TeV with the Alpha Magnetic Spectrometer on the International Space Station