Ukrainian troops retreat from two outposts after battles with separatists