Extract a reliable PV line

Truncate the extracted PV from the point where
the score stored in hash starts to deviate from
the root score.

Idea from Ronald de Man.

bench: 8732553
Merge remote-tracking branch 'upstream/master'
Fixed version of "extract a reliable PV line".
(The version currently in SF master does not display PVs with a mate score.)