Stranded Advantage is not based on the team with the advantage then doing something really stupid. If Gomes had kept the ball and kicked it up field, but hit Nani on the back and flown in the net would you expect the ref to pull it back?
No, but I think that's slightly different. You quite often see Refs wait to see if an advantage can be played and then bring it back if the ball is quickly lost. I just think it would be an easy way to apply common sense without ignoring the rules.