KWM advises Brickworks on major merger