A variational treatment for general elliptic equations of the flame propagation type : regularity of the free boundary