'There is hope': Baby allowed home after 304 days in hospital