Chad 's national assembly has authorized President Idriss Deby to renew a state of emergency imposed after a rebel attack on the capital , N'Djamena , early this month .