Violence has erupted in Lebanon's northern city Tripoli after Prime Minister Mikati's resignation was accepted.