The number of medical marijuana dispensaries in San Francisco will dip to a nearly 10-year low on Aug. 1, when two more permitted pot clubs will close under pressure from the federal Justice Department.