Buffer the pending instantiations in case or recursive parsing.

(cherry picked from commit 590039b00c18c1d611e6505cbb9c527df2a2b771)