MAINT: small change to squeeze error message

Closes https://github.com/numpy/numpy/issues/4942.