After sitting on the market for nine months, what was thought to be San Francisco’s most expensive home on the market has finally sold.