Fix bug where the arity check was incorrectly checking varargs functions

varargs should count for 0 or more extra args, not one or more.

Facepalm :)