[AST] NFC: Teach `getExpandedGenericArgs` to handle partially resolved parameter packs
A temporary fix to make it possible to debug expressions
with partially resolved variadic generic types. The issue stems
from the fact that `BoundGenericType` is allowed to have pack
parameters directly represented by type variables, as soon as
that is no longer the case this check should be removed.