british forces attacking tipu sultan