Distinctive hats led investigators to suspect in Denny’s killing