Lebanon's new government has agreed to a compromise policy statement that would give all citizens the right to resist Israeli occupation or attacks.