Electron-deuteron scattering in the inelastic threshold region at high momentum transfer