The Canadian investment giant Brookfield is closing in on a $2bn deal to buy Actimize, a financial crime and compliance specialist.