Registration of 18 housing societies cancelled