Mains triac safety circuit design
Clearance is about the distance between live and null or about the distance between two isolated circuits. Not so much about the pins on a triac'like device as electrical safety is not an issue in this case. The worst that could happen is that your load stays powered, but fuses will not blow. If you are concerned about the distance between the pins, you can always bend out the middle pin, that is pretty common solution.

It is good practice (thermal expansion'wise) to have a couple small bends anyway in the leads, so the leads won't push the solder pads off the PCB when the pins expand due to the device heating up while being screwed to the heat sink. Bit like this:



Avoid bending pins directly where they come out of the plastic package, as the pins may easily break when doing so.

Creepage vs Clearance


Creepage is the distance between conductors along insulated surface 





Clearance is the shortest distance between the conductors