Pennsylvania lawmakers plan to introduce legislation that would place a moratorium on private equity and other for-profit firms from buying hospitals in the state, following closures and cutbacks that curtailed care in parts of suburban Philadelphia.