Police investigate deadly shooting at motel