French lawmakers vote to extend state of emergency