Extraction of products from titanium-bearing minerals