Brennan beats favourite to become Bar chairman