Ion acoustic shocks formed in a collisionless plasma with negative ions