Police on Tuesday dismantled a sprawling tent camp in Madrid which had spearheaded protests over Spain’s housing crisis for more than a month and prompted early elections, police and activists said.