UK hands back Chagos Islands - but will keep military base