Botswana has formally repealed colonial-era anti-sodomy laws following a landmark 2019 High Court ruling that found them unconstitutional.