There was no immediate indication of any political motive, and investigators were looking into whether the suspect may have been mentally ill