Ion-acoustic solitons in an inhomogeneous multicomponent plasma with negative ions