In what state was the Egyptian army after fighting the French and UK?