Spain court strikes down order to partly lock down Madrid