Allocate memory for the new number of subexpressions.  Fixup for r181572