Mamdani defends Oct. 7 statement amid backlash from all sides