A New York assemblyman who at first defended his decision to sport blackface, an Afro wig and a basketball jersey to a costume party apologized Monday, saying he didn’t mean to hurt anyone.