Return true from Resolver::resolve() on success.
Remove excessive allowRemainingUndefines() check.

allowRemainingUndefines() is already checked in Resolver::resolve(), so we
don't need to check it again after returning from it. It's actually not only
superfluous but buggy because a failure of resolve() does not always mean that
there is a remaining undefines.