branch -d: avoid repeated symref resolution