New York City Mayor Zohran Mamdani was not permitted to speak at the funeral of Sgt Angel Sarah Rampersad.