Chemical Control of Hydrodynamic Instabilities in Partially Miscible Two-Layer Systems