A powerful explosion killed at least four people in the Somali capital Thursday, police said. An Islamic extremist group claimed a Mogadishu hotel was the intended target, but a police officer said militants detonated a bomb while trying to assassinate a judge.