Iraq lawmakers extend state of emergency