docs: only non-string from args are ignored in path.resolve

`Non-string arguments are ignored` suggests that all arguments can be non-strings, which of course isn't the case:
```
> path.resolve(null)
TypeError: Arguments to path.resolve must be strings
> path.resolve(null, '/')
'/'
```