main_decrypt_pipe(): rework plaintext processing state machine