What wasted throughput? You could say the same thing about any number of fields in the IP header itself. The question is "what does direct IP get you that UDP doesn't get you". This was, as I keep saying, the original design purpose of UDP.
Arguably, TCP should have been built atop UDP.
The thing to notice is that, apart from the checksum field --- which SCTP has as well, albeit with a different checksum --- UDP doesn't do anything but multiplex. It has no practically no mechanism that IP itself lacks, and vice versa.
Again, the backwards question. The actual question is: “What does UDP get you that IP does not get you?”
UDP is just a length, checksum, source, and destination application routing address. IPv4 has a length, checksum, source, and destination machine routing address. IPv6 has a length, source, and destination machine routing address (having determined computing the checksum at this layer is a waste).
They hold the same class of information except that layering UDP gives you a additional 16-bits of routing on top of your IP routing which is somewhat relevant for IPv4, but meaningless for IPv6. And the additional routing bits for IPv4 should have always been resolved at the IP routing layer anyways which is exactly what IPv6 did (though done poorly in my opinion, but at least solved the need for more bits).
Flexible usage of UDP for higher level protocols effectively uses the destination port as the “Next Header” field present in IP protocols. The only advantage there is it is a 16-bit format identifier instead of 8-bit, but now the field is doing double duty as a application-level routing address and a format identifier. Placing a subsequent format identifier in the UDP payload then extends your format identifier further, but at least mostly preserves the application-level routing model of the destination port. If you actually need the extra formats then IP can easily reserve a few format values to indicate a even wider format identifier immediately afterward.