The effect of many-electron correlations on the alignment of ions in atomic photoionization