Moeen Ali spins the game away from SA as Eng clinches series