Near-Degeneracy Correlation Effects in the Mg I Isoelectronic Sequence