Thai Son Nam come from behind to book semis spot