Beyond Strict Complementarity: A Variational Analysis Approach to Hyperparameter Optimization