Ride-hailing firm Uber has agreed to sell its South-east Asian business to bigger regional rival Grab, marking the US company's second retreat from an Asian market.