Hundreds attend slain Pennsylvania trooper's funeral