Man in SWAT standoff surrenders