Boeing has secured a new plea deal to resolve a fresh US criminal investigation linked to two fatal 737 MAX crashes that will see the planemaker admit a fraud charge.