An undersea earthquake in Indonesian waters has killed at least one person and set off small tsunami waves in the region.