On the electrical resistivity in intermediate valence compounds arising from electron-phonon scattering