Prosecutor says suspect in Minnesota shooting went to 4 homes as he sought to kill lawmakers