eliminate redundant loads