Reduce depth after a near-miss null move search
If the null move search fails low by less than 57, a real move is likely
to hold beta, so the rest of the node is searched one ply shallower.
The null move condition is retuned alongside (eval base 390 -> 368,
depth factor 13 -> 14), from a joint SPSA of the null move constants
with the new margin.
The idea comes from the Anvil chess engine, where it is called nearnull:
https://github.com/AnvilFx/anvil-chess
Passed STC:
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 27264 W: 6932 L: 6644 D: 13688
Ptnml(0-2): 30, 3016, 7250, 3308, 28
https://tests.stockfishchess.org/tests/view/6b0ce7689f65cf9079e278be
Passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 37152 W: 9529 L: 9223 D: 18400
Ptnml(0-2): 2, 3688, 10892, 3990, 4
https://tests.stockfishchess.org/tests/view/6b0d75949f65cf9079e27a23
Related earlier work: sg tested reducing depth after any null move fail
low (nmp_fail), and Peregrine tested a larger LMR reduction when the
null move search lands just below beta (nullReduction):
https://tests.stockfishchess.org/tests/view/6a881c625b1b38ebda865031
https://tests.stockfishchess.org/tests/view/6547fc6d136acbc573527223
closes https://github.com/official-stockfish/Stockfish/pull/7377
Bench: 1473344