Pawtucket man sentenced to 17 years in prison for murder attempt