Developers who do not remove cladding on buildings 11-18m high could face legal action, the government says.