Sanitary triplet commutation diaphragm valve