Working by transmitting the laser beam through or within the workpiece for creating voids inside the workpiece, e.g. for forming flow passages or flow patterns