Nearly 1,300 upstate NY residents get medical bills wiped out