It's never explicitly mentioned in the movie, but the Death Star had to wait roughly 24 hours for its energy banks to store enough power to be able to fire the main weapon. Therefore, if they had blown up the planet, they would have had to sit there and wait for a full day before blowing up the rebel base, which would have been long evacuated by then.