Asian shares gave up early gains to end mostly lower on Tuesday as the yuan resumed its decline against the dollar and Chinese shares came under heavy selling pressure despite news of fresh cash injection and positive home-price data. Investors also looked ahead to the minutes from the Federal Reserve’s July policy meeting due on Wednesday for possible clues on the timing of an interest-rate hike.