Santos reinstates Bogota mayor, ending months of judicial chaos