Pipeline pigging operation secured by valve interlocks