Refraction of Electron Beams by Intense Electromagnetic Waves