Ice matrix in reconfigurable microfluidic systems