Investigation of the 3d pionic atom anomaly in low-energy pion scattering