Delta shock as free piston in pressureless Euler flows