Court orders interior ministry to complete inquiry against housing society