Around 10,000 people have been made homeless after a devastating blaze burnt one of the biggest slums in the Bangladeshi capital of Dhaka, according to the police.