Resistivity anomalies in ferromagnetic RNi5 (R=Tb, Dy or Er) compounds