Supernatural Vigor question

By IanSolo_FFG, in Imperial Assault Campaign

Played the grey side mission Civil unrest the other night. Imperial player was using the Power of the Darkside deck and had the 2xp Supernatural Vigor card. Questions on that card and some mission spoilers to follow :

Supernatural Vigor grants +3 Health to an imperial figure at the star of each round, until the end of the round. When the timer reaches the end of round 4, the rebel players need to take down the AT-DP (who couldn't suffer any damage before per the mission rule) before the end of round 6.

In our mission, the imperial player chose to add +3 health to the AT-DP at the start of round 5 and also at the start of round 6. At some point during round 6, the AT-DP had suffered 16 damages but because of Supernatural Vigor, it was not defeated yet. Then the last hero activated (Loku) and couldn't add more damage to the AT-DP.

So I have 2 questions

1) Again the card said add +3 health until the end of the round. When the end of the round is reached, you remove the +3 health only right? So any damage suffered stays such that if a figure suffered damage equals to or greater than its health it becomes defeated at the end of the round I suppose?

2) If so, who won? Since at the end of the round (which was the 6th round) the AT-DP's health went back to normal (16) and it had already suffered 16 damages, it should have been defeated. But if the mission ends at the end of round 6, it gives a win to the imperial if the AT-DP was not taken down in time. So what happened first : the imperial win condition, or the removal of the +3 health in which case the Rebel would have won?

Health is back to normal when the +3 expires. The damage tokens on the figure are not affected. If the figure has suffered damage equal to its Health (any excess can be considered to be discarded), it is defeated.

"Until end of round" expires before any end of round effects. (See FAQ2.3)

So the rebel players won the mission! Thanks for the quick answer A1bert!