fo:tabel-cell プロパティに border-after-width.conditionality="retain" を追加することで罫線を残しておくことができます。
border-after-width.conditionality="retain"