eliminate (V)(L) double casts (where possible)