Nine policemen have been killed in northern Iraq while a car bomb targeting worshippers near a mosque in north of Baghdad left four others dead.