t7003: ensure --prune-empty removes entire branch when applicable