Plans for a new state-of-the-art hospice have moved a step closer after councillors approved more than £3.5 million towards the project.