Controversial San Francisco homelessness tax passes