audio all, video invisible, video visible, video erase and video all each
carried their own copy of "print JSON, exit 1 when AI metadata survived"
and of the text FAILED line. A missed copy let `video erase --json` exit 0
in 0.63.0. Fold them into `_emit_json_result` and
`_exit_if_metadata_survived`; video visible keeps its no-output code ahead
of surviving metadata.
Replace the erase-only test with one table over all five commands in both
output modes, plus the visible precedence case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>