Akmal-Pandharipande-Ravenhall equation of state for simulations of supernovae, neutron stars, and binary mergers