Zohran Mamdani will be sworn in as mayor on Jan. 1. His request for resignations targeted political appointees.