function toNormalizedIndices( indices, max ) {
	var out;
	var i;

	out = emptyLike( indices );
	for ( i = 0; i < indices.length; i++ ) {
		out[ i ] = normalizeIndex( indices[ i ], max );
	}
	return out;
}
Normalizes a list of indices to the interval `[0,max]`.

@param {IntegerArray} indices - indices
@param {NonNegativeInteger} max - maximum index
@returns {IntegerArray} normalized indices

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

idx = toNormalizedIndices( [ 15 ], 10 );
// returns [ -1 ]