How was Rivendell defended?