Illegal mining pit kills three