Kandahar wedding bomb kills 40