The Philadelphia police were warned that the suspect in last week’s shooting had been linked to radicals who were targeting police officers.