What year did the partisans of Marwan lose a battle?