Scouting app: fix action submission

In the Review screen, ending the teleop phase showed up as "9" since it was not caught in the switch case in entry.ng.html. Additionally, if
the scout switched between the endgame and review screen multiple times,
there would be multiple penalty actions since the penalty action created
when they went to the review page would not be deleted when they go back
to the endgame screen. This patch addresses these problems.

Signed-off-by: Emily Markova <emily.markova@gmail.com>
Change-Id: I7db2f93a74691e04a0d4290c19de927eabf8b802
diff --git a/scouting/www/entry/entry.component.ts b/scouting/www/entry/entry.component.ts
index 1a757a0..3c8aba9 100644
--- a/scouting/www/entry/entry.component.ts
+++ b/scouting/www/entry/entry.component.ts
@@ -334,6 +334,9 @@
           break;
         case ActionType.EndMatchAction:
           this.section = 'Endgame';
+          // Also delete the penalty action.
+          this.undoLastAction();
+          break;
         case ActionType.MobilityAction:
           this.mobilityCompleted = false;
           break;