This has happened to me a couple of times now. Not sure what condition causes it.
It happens some times when you use Kitty Pryde.
When Kitty’s repeater kills the last enemy after a match-5, the game doesn’t check the ‘all enemies down’ condition. Making a match forces it to check, then ends the fight.