\tag* was not parsed: the tag extraction only looked for \tag, so the starred
form stayed in the formula. Both the row pass and the block pass now try
\tag*{...} before \tag{...}, so the tag text is removed from the math and used
as the equation tag.
A preview test tags an equation with \tag*{A} and checks the glyph appears with
no warnings and no leaked command.