Neutrino-electron scattering in MINERvA for constraining the NuMI neutrino flux