Smail leaves post as AIB president