Iraq hangs eight accused of terrorism