The court nullified a law passed by the Israeli parliament last year that granted the state immunity from all Palestinian damage lawsuits against the Israeli military .