Solvent liquefaction of waste materials