Refactor validation of configuration integrity constraints