Islamic State plants thousands of mines in Syrian city