UPDATE: Managed to complete this by setting the final statues (#3 in each line) to the correct direction, disconnecting the chain by rotating the first statues, and then reconnecting each chain so that it went from start to finish in one swoop.
Still bugged but can be worked around for now.