UTStarcom sells handset division for $240 million