Off-duty SF cop fires gun in scuffle