Shear stabilization of miscible displacement processes in porous media