Militant surrenders before security forces