San Francisco officials on Friday advanced a bill that would halt the sale of e-cigarettes in the city — setting up the measure to get a vote by the full Board of Supervisors on June 18.