Egypt retires 31 judges for opposing Islamist’s ouster