A struggle for succession in the mid-twelfth century gave the Fujiwara an opportunity to regain their former power. What battle resulted in the destruction of the Fujiwara?