To be fair, the FAA AD issued in response to the JAL 787 event did say, rather chillingly:
"We are issuing this AD to prevent susceptibility to heavy fan blade rubs, which could result in engine damage and a possible in-flight non-restartable power loss of one or both engines".
My understanding is that it was simply luck, and not by design, that the aircraft in question hadn't had both engines upgraded to the PIP2 standard, whereas some others in the fleet had.