How to prevent costly consequences from making bad decisions about inheritance and Medicaid