[WFLY-2415] Make legacy xml use statistics=true, which is the actual leg...

...acy behaviour.

Replaces #5460 which was merged and reverted