What mercenaries were expelled after Isfahan's victory over Hamadan?