Hospitals are increasingly offering “patient-financing” strategies, cooperating with banks and other financial institutions to provide on-the-spot loans to make sure patients pay their bills.