I would suggest they are primarily an ECM platform. It is well known that the F-22 is a superior fighter compared to the F-35. The main feature of the F-35 that puts fear in potential adversaries are the capabilities that become available when multiple F-35 are in the air and linked with one another (or other larger aircraft with comparable systems, e.g. AWACS).
missiles don't have the same restrictions because they don't have to have anything in the way of performance as loiter time or target search system or payloads.
what you're thinking of are Anti Radiation missiles such as https://en.wikipedia.org/wiki/R-27_(air-to-air_missile)
but that ties with the point being made originally, you have to sacrifice payload, or go bigger to have more payload options, or go sideway and have air superiority drones sweep the area before, and it all ties into the "this stuff hasn't been tested in symmetric warfare so who knows" argument.