Through manipulation, Egypt's military comes out ahead