A conserved phosphatase cascade that regulates nuclear membrane biogenesis