SWAT standoff at motel over; suspect in officer's shooting now in custody