Robust multiscale field-only formulation of electromagnetic scattering