Alberto Ruíz-Gallardón, ministro de Justicia