Fix --rebuild-base to delete before loading cached base
The base was loaded before --rebuild-base ran, so the old cached
base was returned and Docker reused the stale image. Now deletion
happens early (before load_cached), and the old Docker image is
rebuilt from scratch with --no-cache.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>