Minn. to get federal health care funds after all