Replication restart pathways after collision with obstacles