Hundreds of people are facing imminent homelessness after their Merseyside flat blocks were condemned by the fire service as being unsafe.