The military said that systems on board the Swedish ship, the HMS Rapp, took countermeasures to disrupt the drone.