The situation seems pretty cut and dried to me. The officials can go back and correct certain mistakes if they do it before the second dead ball.
They are mistakes like:
- having the wrong player shoot the free throw
- awarding an unmerited free throw
- failing to award a merited free throw
- having a player attempt a free throw at the wrong basket
- erroneously cancelling or counting a score
Situation 1 happens the most often I think. The officials get the wrong shooter at the line. If they figure out who it is in time (before the next time the ball is dead), then they cancel the actions that have happened until then and start over with the correct shooter at the line
Situation 2 is something like where the team is awarded two free throws when it should be one-and-one. If the shooter misses the first and then is given the second, there are steps to take to fix it if the officials fix it.
Situation 3 has a situation where something that is the opposite of the OP. Say that the shooting team (Team A) is awarded two free throws. But after the first one is made, the other team (Team B) and the officials forget about the second free throw and Team B takes the ball out of bounds, goes down the court and scores. The remedy is that the team that got shorted a free throw, Team A gets to shoot it (but with no one on the line), Team B’s basket counts and then Team A gets the ball back out of bounds just as if they were taking the ball out after a made basket.
Here’s the other example in the NCAA rule book. Say that Team A is in the bonus and gets fouled. They should shoot free throws, but the officials don’t notice it and give Team A, the ball out of bounds. Team A goes on to score a basket and then complains that they didn’t get their free throws. In this case, the basket counts and then Team A goes to the line to shoot the free throws, although Team B can be on the line to get the rebound.
So going back to the OP, what you have is the awarding of an unmerited free throw. Team A should have had two shots, not three.
The shooter on Team A realized though that it was an error by the officials. She grabbed the rebound and scored. If the officials did not blow the whistle to indicate that the play was dead, the basket has to count. They can stop play and discuss it. But under the rules of basketball, they can’t wipe out the basket if it was scored while the ball was live. If the ball was dead, it’s another matter.