The Equation of State of Neutron Star Matter in Strong Magnetic Fields