Apply the silicon thinly to the pan side ONLY, make sure the gasket is perfectly positioned, and then let the assembly fully set up before installing the pan - be sure the block surface is clean and dry before installing the pan and gasket. If you try to assemble the gasket and pan with too much silicon and on both sides, and while the silicon is still fresh, it acts like a lubricant instead of a cement/sealing agent, and causes the gasket to deform and squirt out as the bolts are tightened.
Small-block GM engines, both pan gaskets and valve covers used to do the same thing, if you don't do it as I described above.
Good luck.