Extraction-membrane technology for processing oil-based mudстатья