Fix sygus-inst when combined with bounded string quantifiers (#8500)