I'm getting some knowledgeable guidance here;
China was, indubitably, the destination here, not a transit point. You don't qualify for a transit without visa if you're not transiting, obviously.
My impression now is that people can and do occasionally get away with this but that the LAX agents were correct to insist in the change routing to technically comport with the TWOV rules.