Hydraulic circuit using shuttle valve