A Bangladeshi minister sparked a social media debate after he was filmed carrying a pistol during a raid on a suspected drug den in a Dhaka slum.