You can have STP blocking one of the links to your switch.
If you configure the same settings on the two links on the MX, and have spanning-tree enabled on your switch (it should be by default), then your switch should block one of the links.
In case of the active link fails, the other link should then be opened.