Suicide bomb kills 24 at Iraqi funeral