Reduction of spin-torque switching currents by partially canceling the free layer demagnetization field