You would just … leave them?
I mean, it would be better. The other option is to take them out of water. There is no universe where the only option to deal with shipwrecked people is to kill them.
In a war situation, which this was not, this is a war crime.
Because that's the only logical alternative? If this were truly the mission it claimed to be, they would capture and interrogate them obviously.