Housing market grinds to a halt as number of homes on market hits record low