Housing Minister John Carey has blamed the ‘mess’ left behind by the Barnett government in 2017 for Perth’s homeless crisis.