On the contrary, that may well be an issue - the BTB10 600BW has a thermal resistance to mounting surface of 1.5 °C/W and Tj(max) of 150 °C, but the BTA412Y 600B is 2.1 °C/W, and Tj(max) of 125 °C. That means that the junction of the replacement will run 40% hotter (relative to the heatsink temperature) and it has less 'headroom' to do so.
Even though the replacement is a nominal 12A part, I suspect that it will burn out quickly if the load current exceeds 6A and is likely to fail sooner than one would like. You can *probably* risk testing with this part but if the vacuum cleaner is over 1200 W (nominal), or the heatsink gets hot after several minutes of operation with unrestricted air flow, I'd certainly want to order a compatible non-isolated tab TRIAC for it.