The Meta messaging app was breached by the spyware maker, which was accused of putting Pegasus monitoring software on users' mobile devices.