Former CFMEU official set to plead guilty to blackmail charges, court hears