Q, SARSA: ignore 1st triple in episodic training

When training multiple episodes (with learnOnDataset and
batchMode=True), the final iteration of episode n-1 should not
affect the first iteration of episode n.