In short, I don't think a law school matters enough from a research perspective to factor here. The med school thing does, though.
The only university with top research programs in essentially everything is Stanford. If you allow UCSF to stand in for Berkeley's med school (which you can't really), then UCB/UCSF would be the other one.
While Harvard is an exceptional research institution, I think it falls just a little too far short of Stanford and Berkeley in engineering and applied science to qualify as the top research institution.