Solidification dynamics of an impacted drop