[datatype-number] Simplify type checks

Byte shaving in `Y.Number.parse`.

Ping @lsmith