Ignore hard spaces in \num (fixes #256)

The old code only covered soft spaces (as ~ is a normal space in
expl3 syntax). Possibly the 'spaces' should be configurable, but that
can wait for v3!