Eliminate redundant expression