Preserving Known Anatomical Topology In Medical Image Segmentation Using Deep Learning