Adaptive cluster expansions and redox-dependent atomic ordering