Electron-Electron Bremsstrahlung Emission and the Inference of Electron Flux Spectra in Solar Flares