I can't think of any way in which the FBI's incompetence would have legal implications for Apple's obligations. How would that work?
If they're able to help, and can be compelled legally, why would the FBI having previously had the ability to get the data but losing it to a mistake change their obligation?