Why did this triac driver resistor let the magic smoke out?
Connecting the load in the wrong place is what killed it. The way it is connected, the current is divided between the load and the 330 ohm resistor as if the two were connected in parallel.
As you revised the diagram in the question is correct.