High-fidelity entanglement of trapped ions using long-wavelength radiation