Homeless deaths in Inverclyde have halved in the space of a year, according to new figures.