Dislocation motion and the microphysics of flash heating and weakening of faults during earthquakes