First Result from the Alpha Magnetic Spectrometer on the INternational Space Station: Precise Measurement of the Positron Fraction in Primary Cosmic Rays of 0.5-350 GeV