Masked Israeli settlers have attacked a group of Palestinian shepherds and activists in the Jordan valley.