DOCX export: handle multi-para SDT's ending right before a table

Change-Id: I47ea5fd6e1b4d9d5a2893112efdcd810c4c84cfb