Bugfix: Reject trees with duplicate or out-of-order node names during `restore`

A tree containing a symlink and a directory with the same name could let
`restic restore` write through the symlink to files outside the restore
target. Restic now rejects trees whose node names are not strictly
increasing during restore and reports an error instead of restoring such
a snapshot.

https://github.com/restic/restic/issues/22180
