Oh.
My.
God.
I’d ask if you were kidding, but … no, no, you’ve said enough to make me believe you’re probably seriously confused.
So:
One discussion has to do with what steps the courts take when analyzing a law for Equal Protection violations. That’s the rational basis test.
The other discussion – this one – has to do with a legislator’s ideas about a law he will, or will not, support.
Those two methods of analysis have nothing to do with one another. Nothing.
If Congress had passed the Murkowski bill, and the President had signed it, and then someone sued because it treated guest workers differently than other guest workers… THEN, sure enough, we’d apply the rational basis law and we’d say that (1) Preventing rape and forced abortions are legitmate government interests, and (2) This bill was in fact rationally related to that goal. So under the rational basis test, yes, this bill would survive.
But that’s not remotely the discussion here. Here the discussion doesn’t involve the Equal Protection Clause. It involves the decision by one lawmaker not to support a law which other lawmakers did support. There is no particular “test” for that, no framework under which the law is analyzed.
One has nothing to do with the other. It’s as though you grabbed things that sound the same and tossed them together. Do you not understand any of the basic concepts in play here? Seriously?