Were both aircraft still on IFR flight plans?
Can ATC arbitrarily change IFR by stating maintain visual?
Would SFO be capable of operating at a high landing rate if IFR was imposed?
From the AIM in post #44, visual separation may be provided IFR to IFR if the crew report traffic in sight. I am certain none was ever asked to cancel IFR.