The suspect’s search history included websites relating to Anders Breivik, the Norwegian far-right terrorist.