Libyan NTC deputy head quits after protests