A potentially bitter transfer war between ice hockeys two biggest leagues has been successfully avoided.