The Dirac-Frenkel Principle for Reduced Density Matrices, and the Bogoliubov-de Gennes Equations