Shares of smaller banks take a beating, helping lower investors’ expectations of more interest rate increases.