Wainwright gets 8th win, Cardinals beats Reds 4-0