Collapse adjacent successive blocks in writev_append(). This greatly improves writev() uio count when writing long stretches of original lines (because they're successive in memory, they get collapsed). This could be done in gen_applied_file(), but that looked tricky to do, and this is the actual case in which we can optimize, regardless of the caller or its use pattern.