Following SVB collapse, regulators will do whatever it takes to protect deposits in U.S. banks, Treasury Secretary Janet Yellen told senators.