Complex sentence: The Ottoman 19th Division retreated from Tel el Khuweilfe while the 53rd (Welsh) Division moved back to Beersheba, allowing the Ottoman Seventh and Eighth Armies to withdraw in fairly good order.
Split into simpler sentences: The Ottoman 19th Division retreated from Tel el Khuweilfe while the 53rd (Welsh) Division moved back to Beersheba. So the Ottoman Seventh and Eighth Armies were able to retreat in fairly good order.