Constraints in Impulsive Mechanics and the Gauss's minimum principle