Evaluation and Optimization of Leave-one-out Cross-validation for the Lasso