Histone deposition promotes recombination-dependent replication at arrested forks