Legislation reportedly at heart of coalition talks would mark the most significant change ever to Israeli constitutional law; it would also render Netanyahu immune from prosecution