Funding boost to help alleviate cycle of homelessness for patients leaving hospital