Update passgen.c

Made the second chkvalid call inverted so that it truly checks that there are no repeating characters within the string.