Anisotropic halo assembly bias and redshift-space distortions