The SDLP has said there can be no repeat of an incident where a Derry councillor supplied a reference to an Irish soldier jailed for rape.