US SaaS stocks surge 5% as tech selloff deepens on Samsung earnings