Grand Island man going to prison for attack on girlfriend