Nissan Motor is to recall 989,701 vehicles in North America to fix a software problem that could inadvertently deactivate airbags.