Hermes is to close its £213m UK Small and Mid Cap Companies fund after its main shareholder decided to transfer their holding to another of the firm’s portfolios.