What city did the partisans of Marwan lose a battle near