Bugfix: submitblock: Use a temporary CValidationState to determine accurately the outcome of ProcessBlock

Fixes #5083 (based on #5105)
@laanwj I dont think thats so long as to make it at all hard to machine parse? though may we want to skip the ","...