They are trespassing on what? It's their land. IDF is trespassing there. So at least they should be able to deal with these protesters in the same manner as they deal with settler protestors, in a way where no one dies.
Seven Libyan soldiers killed in clashes with ISIS (Reuters)
from the article: IDF fears continued Palestinian infiltration on Syria border