Heavy rain caused a dam to burst near the Kenyan town of Solai, killing dozens of people and displacing hundreds, authorities said.