for some reason the button can show up if the enemy army got placed with wrong rounding ending up with one too much, you might notice your lineup not changing while the enemy loses a unit
the ai bug should be fixed, the game updates very often so make sure you have the most recent one (its save compatible)