Fix creating a result<T> with an error_condition of 0.

This prevents a result<T> from ever having an 'ok' state but still being
invalid.