Battles on the outskirts of Tripoli