[WFLY-2218][WFLY-2242] Cleanup - Use DiscardAttributeValueChecker in Rem...

...oting transformer

This is just cleanup, something I noticed while writing documentation, and I had been using the previous version as a (bad) example.