Total replaces Libya managing director