Oil giants heading to trial in water pollution lawsuit