Pneumatic four-way valve