UN chief hails deal to restructure Libya's election commission