Mexican president to leave behind unpopular drug-war legacy