Judges appointed by Hosni Mubarak dissolved the Islamist-dominated parliament Thursday and ruled that Mubarak's former prime minister can stand in the presidential runoff this weekend - setting the stage for the military and remnants of the old regime to stay in power.