Egypt military moves to defuse crisis