function normalizeIndices( indices, max ) {
	var idx;
	var flg;
	var i;

	for ( i = 0; i < indices.length; i++ ) {
		idx = normalizeIndex( indices[ i ], max );
		if ( idx === -1 ) {
			flg = null;
		}
		indices[ i ] = idx;
	}
	return ( flg === null ) ? flg : indices;
}
Normalizes a list of indices to the interval `[0,max]`.

@param {IntegerArray} indices - indices
@param {NonNegativeInteger} max - maximum index
@returns {(IntegerArray|null)} normalized indices or null

@example
var idx = normalizeIndices( [ -2, 5 ], 10 );
// returns [ 9, 5 ]

idx = normalizeIndices( [ 15 ], 10 );
// returns null