Live, neutral & earth go into dimmer. Switch live neutral & earth come out to light. You need two 1mm twin and earth cables.
At bottom of stairs you have 3 used wires. One live from upstairs and two switched lives returning. As you no longer need it disconnect from both switches and tape up, or...