core: In TransformDestroyEdge, insert variable nodes before providers
core: In TransformDestroyEdge, insert variable nodes before providers

The provider transforms now depend on analyzing references in order to
properly create provider edges, and so we need to now insert all of the
nodes that can have references and attach schemas before we run
TransformProviders.

This was done for the main graph builders in a previous commit, but as
usual we missed this surprising hidden graph builder that lives inside
a graph transformer. 🙄

drebes/terraform,mattray/terraform,tpounds/terraform,pradeepbhadani/terraform,pryorda/terraform,pryorda/terraform,mattray/terraform,luis-silva/terraform,drebes/terraform,apparentlymart/terraform,brandontosch/terraform,tpounds/terraform,iljaskevic/terraform,rnaveiras/terraform,pdecat/terraform,rnaveiras/terraform,ewbankkit/terraform,luis-silva/terraform,apparentlymart/terraform,drebes/terraform,VladRassokhin/terraform,iljaskevic/terraform,heimweh/terraform,tommynsong/terraform,rnaveiras/terraform,pdecat/terraform,gechr/terraform,VladRassokhin/terraform,brandontosch/terraform,ewbankkit/terraform,VladRassokhin/terraform,heimweh/terraform,hashicorp/terraform,hashicorp/terraform,brandontosch/terraform,ewbankkit/terraform,brandontosch/terraform,luis-silva/terraform,youhong316/terraform,heimweh/terraform,iljaskevic/terraform,gechr/terraform,heimweh/terraform,apparentlymart/terraform,youhong316/terraform,nlamirault/terraform,gechr/terraform,mattray/terraform,drebes/terraform,hashicorp/terraform,pryorda/terraform,apparentlymart/terraform,brandontosch/terraform,tommynsong/terraform,apparentlymart/terraform,heimweh/terraform,pradeepbhadani/terraform,iljaskevic/terraform,tpounds/terraform,nlamirault/terraform,youhong316/terraform,pdecat/terraform,tpounds/terraform,ewbankkit/terraform,nlamirault/terraform,luis-silva/terraform,pradeepbhadani/terraform,pdecat/terraform,youhong316/terraform,tommynsong/terraform,VladRassokhin/terraform,mattray/terraform