Measuring Higgs self-couplings in the presence of V V H and V V HH at the ILC