Beset by protesters, and encouraged by Netanyahu, coalition pushes through legislation to cut judicial oversight over elected officials by vote of 64 to 56