[operators.block] handle empty dimensions correctly