Perform region validation early to be more explicit about invalid region failures
Merge pull request #8832 from sivel/rax-validate-regions

rax modules: Perform region validation early