AMA-brokered deal poised to cover residents affected by Hahnemann closure