merkle: Use leaf hashes as input when batch verifying
Makes it a lot cheaper to keep leaves around in memory when running batch verification infrequently. This is especially helpful for a monitor that does batch verification while filtering most entries.