Interplay of Chiral and Helical States in a Quantum Spin Hall Insulator Lateral Junction.