Self-consistent Validation for Machine Learning Electronic Structure