Legislative elections in Egypt and Morocco point to an ebbing of the revolutionary tide. But by creating winners and losers, they also have the potential to spark renewed friction.