Refactor setup of proof equality engine for central EE (#6831)