Defect states of ferrimagnetic Mn4N