First-half headers from Barney Stewart and Finn Yeats sent Falkirk into the Scottish Cup semi-finals and ended Dundee United's hopes of reaching Hampden.