Dolores Delgado, ministra de Justicia