Effect of solidification on a propagating dike