The resistors are used to provide a pull-down function to prevent the outputs which are not connected to Vdd (via the various diodes) from floating. As you might be aware, if inputs to an IC, for instance CMOS 4000-series or 74HC-series, are left floating, all manner of unpredictable behavior may occur.