revision.c: fix "dense" under --remove-empty