Libya bans Gaddafi-era officials from office