Electron-muon ranger: Performance in the MICE muon beam