Islanders rally to beat Red Wings