Nine Thai soldiers have been detained following a deadly attack on two ยง