Banks force troubled law firms to rethink structures