core#21713
> Refactor ProcessNewBlock to reduce code duplication
----
core#22106
> validation: change ProcessNewBlock() to take a CBlock reference
>
> Update ProcessNewBlock arguments to newer style.
> net: cleanup newly added PeerManagerImpl::ProcessBlock
>
> Addresses some post-merge comments.
----
This is a backport of core#21713 and core22106