Peculiarities of Shockwave Ejecta in the Presence of Gas in Front of a Free Surface of a Material