The Maldives is threatening international legal action to press its claim for control of the Chagos Islands.