Avichai Mandelblit, former close confidant of Netanyahu who served as his attorney general, says proposed legal changes introduced to help PM bring trial to improper end