Reds' Cueto shuts out Pirates in 4-0 win