Israeli PM agrees to attend hearing on graft charges