Add test coverage for ej:valid with mochijson style objects
Remove unreachable code

This code was added to support mochijson2 style EJSON in ej:valid, but
is not needed.