Hundreds of homeless people in Edinburgh are set to be moved out of ‘unlawful’ temporary accommodation as the council prepares to cut ties with providers operating unlicensed shared housing.