Morsi has already purged most of the generals (and even police officers) who were not loyal to the Muslim Brotherhood or its Islamist agenda. Don’t expect any help from that front.
As for the Egyptian judiciary, they’ll probably be dead in a week or so...or out of the country. But where will they flee? Not here, because I’m sure anybody who opposes Islamism is now an enemy of the United States.
Actually they are burning and destroying Muslim Brotherhood offices and installations as we speak with relative impunity. Probably killing the MB stooges as well. I would not be surprised if the current upheaval is being caused by Army regulars in civilian garb as their targets for attack are quite focused. Remember not all coups happen at the commanding general level (i.e. Romania and USSR 1991)but in the lower ranks. It is a simple reality of numbers and guns. The guy with the most of both wins. The Egyptian military rank and file was largely pro-Mubarak and they hold nearly all of the guns. They will kill Morsi’s stooge generals too with extreme prejudice and then get him. It is an inevitability.