Coherent atomic soliton molecules for matter-wave switching