The SC stated that using Pegasus spyware against terrorists isn’t inherently wrong, stressing the importance of national security