Refactor - remove redundant function and all references

The function `assertWllFormed` was doing nothing different than `assert` which is
available in the same namespace. Removing it will lighten the filesize - albeit
very slightly - and reduce complexity.
Merge pull request #4614 from kalisjoshua/code-cleanup--kalisjoshua

Refactor - remove redundant function and all references