Self-consistent treatment of nonequilibrium spin torques in magnetic multilayers