Nearly all major US airlines will be required to ground their A320s and complete a software update.