That's exactly the reason... redundancy if one fails or starts giving bogus data like in this case Starting with the Phantom 4 DJI has put in dual IMU as well as Compass modules. Next up (for the P5) will probably be dual GPS, as that would certainly be of benefit to some.Something strange here ... you mention a "front" compass, and a "rear" compass ... I doubt seriously there are two compasses on the Mavik, or any device, for that matter ... unless for redundancy if one fails. No reason to have more than one.
The Inspire 2 takes it a step further with dual barometer (for height if GPS is lost) and dual battery too :]