The EU fears its credibility is at stake as it seeks to weigh growing concerns about the crushing of dissent in Tunisia while preserving a controversial migration deal with the north African country, according to a leaked document.