Refactor ProcessNewBlock to reduce code duplication
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 core#22106