Drainage of power-law fluids from fractured or porous finite domains