Hearts and Inverness will lock horns in the semi-finals of the Scottish League Cup for the second year running.