A magistrate judge has barred federal authorities from conducting an unsupervised, wholesale search of electronic devices that they seized from a Washington Post reporter’s Virginia home while investigating allegations that a Pentagon contractor illegally leaked classified information to the journalist.