Italian politicians have backed a radical overhaul of the country's parliament that will see around a third of them losing their job.