Labour hailed its agreement to hand control of the Chagos Islands to Mauritius as a diplomatic coup. The reality is more woeful, says Simon Wilson