Sema: Cleanup redundant variable NumArgsToCheck

Patch by Daniel Marjamäki!