What you studied in undergrad likely isn't going to have any impact on what you choose to study in law school. Your first year is going to be packed with the same classes everyone else takes. While you may have had an interest in one area in undergrad, that will almost certainly change by the end of 1L. Only one of many people I've known who had a plan going into 1L ended up sticking to the plan, and that's because she had connections in a highly specialized area of law where connections are key. For example, one was set on criminal law and ended up studying communications law. It's all about what strikes your interest, and anything related to the law that you were exposed to in undergrad really isn't going to give you enough of a taste to really know.
As far as IP law: yeah, hard sciences are it. The patent bar isn't even an option unless you have a strong background in the sciences. While you can take the patent bar with a certain number of credits in engineering/science/technology, getting a job with an IP firm is another matter. Realistically, we're talking a Masters in Engineering or Computer Science or a Ph.D in Bio or Chemistry.