Quantifying and Controlling the Magnetic Dipole Emission of Erbium at Telecom Wavelengths