Top law firms in Boston and across the U.S. are gearing up their clients for uncharted battles over abortion.