With narrowing margins and a growing regulatory burden, there are many reasons for small banks to throw in the towel and sell to competitors.