The interaction of near-critical swirling flows in a pipe with inlet azimuthal vorticity perturbations